

let _cache = {

  //存local
  loacl_set: function (k, v) {
    tt.setStorageSync(k, v);
  },

  //取local
  loacl_get: function (k) {
    return tt.getStorageSync(k);
  },

  //删local
  loacl_del: function (k) {
    tt.removeStorageSync(k);
  },

  //清local
  loacl_clear: function () {
    tt.clearStorageSync();
  }

};

//导出
export default _cache;